package com.demo;

public class Test1 {

	public static void main(String[] args) {
		System.out.println("1" + new StringBuilder().toString() + "2");
	}

	/**
	 * 将1-总数之间的所有整数，按指定的列数打印
	 * 
	 * 
	 * @param total
	 *            总数
	 * @param column
	 *            列数
	 */
	public static void print(int total, int column, int x) {
		total = 10;
		column = 2;
		int a = total / column;
		for (int m = 0; m <= a && x <= 10; m++) {
			for (int n = 0; n <= column; n++) {
				x = a * n + m;
				System.out.print(x + " ");
			}
			System.out.println();
		}
	}

}
